package ch03;

public class CashRegisterTester {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		CashRegister register = new CashRegister();
		
		register.recordPurchase(0.75);
		register.recordPurchase(1.50);
		register.enterPayment(2, 0, 5, 0, 0);
		System.out.print("Change: ");
		System.out.println(register.giveChange());
		System.out.println("Expected: 0.25");

	}

}
